/*
 *  base64.h
 *  Wilson
 *
 *  Created by Sebastian Orfino on 10/28/11.
 *  Copyright 2011 LBS3. All rights reserved.
 *
 */

#ifndef __BASE64__
#define __BASE64__
#include <string>

namespace wilson {
	/** Codifica en base64 al buffer */
	std::string base64_encode(unsigned char const* , unsigned int len);

	/** Decodifica el buffer de base64 a los bytes que eran antes*/
	std::string base64_decode(std::string const& s);

}
#endif
